package org.ch04.test00.lx05.animal;

import org.ch04.test00.lx05.annotation.JianKang;

/**
 * 鲨鱼
 *
 * @author ZQX
 * @date 2025-03-31
 */
@JianKang("差")
public class ShaYu extends HaiYangAnimal {
    @Override
    public void eat() {
        super.eat();
        System.out.println("大鱼吃小鱼...");
    }

    @Override
    public void sleep() {
        super.sleep();
        System.out.println("鲨鱼窝着睡");
    }
}
